package com.lanchetech.merchant.service;

import com.lanchetech.bean.request.OrderCommentPageReq;
import com.lanchetech.bean.request.OrderPageReq;
import com.lanchetech.bean.response.*;
import com.lanchetech.bean.vo.OrderCommentVO;
import com.lanchetech.bean.vo.OrderDataStatisticsVO;
import com.lanchetech.entity.Orders;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;

public interface OrderService {
    ResultData<BasePageResp<OrderResp>> getOrderPage(OrderPageReq req);

    void exportOrderExcel(OrderPageReq req, HttpServletResponse response) throws IOException;

    ResultData<OrderResp> getOrderDetail(Long id);

    BaseResp editOrderLogistics(Orders orders);

    BaseResp editOrderRemark(Orders orders);

    ResultData<OrderDataStatisticsVO> getOrderStatistics(OrderPageReq req);

    ResultData<BasePageResp<OrderCommentVO>> getOrderCommentPage(OrderCommentPageReq req);

    BaseResp auditOrderComment(Long id,Byte status);
}